﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Caching.Distributed;

namespace Cms.Core.Application.Secutiry.Base
{
    /// <summary>
    /// 
    /// </summary>
    public class OnlineCacheBase : OnlineCacheAbstract, IOnlineCacheBase
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="serviceProvider"></param>
        /// <param name="cache"></param>
        public OnlineCacheBase(IServiceProvider serviceProvider, IDistributedCache cache)
        {
            _serviceProvider = serviceProvider;
            _cache = cache;
        }

        /// <summary>
        /// 
        /// </summary>
        public readonly IServiceProvider _serviceProvider = null;

        /// <summary>
        /// 
        /// </summary>
        public readonly IDistributedCache _cache = null;


         
    }
}
